<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
  body {
    /* font-size: 0; */
  }
  [id*="content"] {
    width: 100px;
    height: 100px;
    display: inline-block;
    border: 1px solid;
    font-size: 14px;
  }
  </style>
</head>
<body>
  <div id="content1">1</div>
  <div id="content12">1</div>
  <div id="content13">1</div>
  <div>1</div>
  <div>1</div>
  <div>1</div>
  <div>1</div>
  <div>1</div>
  <div>1</div>
</body>
</html>